import request from './index'

export function start(data){
    return request({
        url:'search/indexaction',
        method:'GET',
        data
    })
}

export function keyWord(data){
    return request({
        url:'search/helperaction',
        method:'GET',
        data
    })
}

export function history(data){
    return request({
        url:'search/addhistoryaction',
        method:'POST',
        data
    })
}

export function clearhistoryAction(data){
    return request({
        url:'search/clearhistoryAction',
        method:'POST',
        data
    })
}
